Gestalt Selector and Response Values
You can pass thegestaltTeleMgrAttr
selector to theGestalt
function to get information about the Telephone Manager.Gestalt
returns information to you by setting or clearing bits in theresponse
parameter. The bits currently used are defined by constants:
enum { gestaltTeleMgrAttr = 'tele', gestaltTeleMgrPresent = 0, gestaltTeleMgrPowerPCSupport = 1, gestaltTeleMgrSoundStreams = 2, gestaltTeleMgrAutoAnswer = 3, gestaltTeleMgrIndHandset = 4, gestaltTeleMgrSilenceDetect = 5, gestaltTeleMgrNewTELNewSupport = 6 };Constant descriptions
gestaltTeleMgrPresent
- This bit is set if the Telephone Manager is present in the current operating environment.
gestaltTeleMgrPowerPCSupport
- This bit is set if the current machine contains a PowerPC microprocessor.
gestaltTeleMgrSoundStreams
- This bit is set if the Telephone Manager supports sound streams (for example, the
TELGetDNSoundInput
andTELGetDNSoundOutput
functions).gestaltTeleMgrAutoAnswer
- This bit is set if the Telephone Manager supports the Auto-answer feature (that is, incoming calls are routed to a client application that has requested such routing).
gestaltTeleMgrIndHandset
- This bit is set if the Telephone Manager supports an independent handset.
gestaltTeleMgrSilenceDetect
- This bit is set if the Telephone Manager can detect silence on a telephone line.
gestaltTeleMgrNewTELNewSupport
- This bit is set if the Telephone Manager supports the
TELNewWithResult
function.- Note
- For complete information about the
Gestalt
function, see the chapter "Gestalt Manager" in Inside Macintosh: Operating System Utilities.![]()
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help